﻿@model KnowledgeCommunity.Model.Accessory

@{
    ViewBag.Title = "编辑";
    Layout = "~/Views/Shared/_Layout_zone.cshtml";
}


<div class="contentcontainer">
    <div class="headings">
        <h2>编辑</h2>
    </div>
    <div class="contentbox">
        @using (Html.BeginForm())
        {
            @Html.ValidationSummary(true)
            @Html.HiddenFor(model => model.Id)
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tbody>
                    <tr>
                        <th width="200px">编号</th>
                        <td>
                            @Html.TextBoxFor(model => model.ShapeCode, new { @class = "myInput_text" })
                        </td>
                    </tr>
                    <tr>
                        <th width="200px">标题</th>
                        <td>
                            @Html.TextBoxFor(model => model.Title, new { @class = "myInput_text" })
                        </td>
                    </tr>
                    <tr>
                        <th>摘要</th><td>
                            @Html.TextBoxFor(model => model.BelongTo, new { @class = "myInput_text" })
                        </td>
                    </tr>
                    <tr>
                        <th></th>
                        <td>
                            <input type="submit" class="myInput_Buttom" value="保存>>" title="保存" />
                            <input type="button" class="myInput_Buttom" onclick="history.go(-1)" id="reset" value="取消" title="取消" />
                        </td>
                    </tr>
                </tbody>
            </table>
            
        }
        <div style="clear: both;"></div>
    </div>
</div>
